package cn.edu.imau.zy.examination.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;

/**
 * 候选答案对象 el_qu_answer
 * 
 * @author xsc
 * @date 2021-05-10
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("el_qu_answer")
public class ElQuAnswer implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 答案ID */
    private String id;

    /** 问题ID */
    @Excel(name = "问题ID")
    private String quId;

    /** 是否正确 */
    @Excel(name = "是否正确")
    private Integer isRight;

    /** 答案内容 */
    @Excel(name = "答案内容")
    private String content;

    /** 答案分析 */
    @Excel(name = "答案分析")
    private String analysis;

    // 正确答案
    @TableField(exist = false)
    private String correct;

    @TableField(exist = false)
    private Integer key;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
